package com.tengju.bff.infrastructure.export;

import com.tengju.export.domain.service.ExportUploadService;
import com.tengju.user.domain.service.HuaweiObsService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: 李大仙
 * @date: 2021/8/30 10:47 上午
 */
@Service
@RequiredArgsConstructor(onConstructor_ = {@Autowired})
public class ExportUploadServiceImpl implements ExportUploadService {

    private final HuaweiObsService huaweiObsService;

    @Override
    public String uploadFile(String localFilePath) {
        return huaweiObsService.uploadExportFile(localFilePath);
    }
}
